package com.ruoyi.student_club.vo.app;

import lombok.Data;

import java.util.Date;

/**
 * @Author lin
 * @Date 2022/2/17 8:48
 */
@Data
public class ActivityDetail {

    private Long id;

    private String title;

    private String content;

    private String clubName;

    private Date createTime;

    public void setContent(String content) {
        String old = "http://localhost/profile";
        String target = "http://www.ec-wuyou.xyz/upload/activity_picture";
        this.content = content.replace(old,target);
    }
}
